package org.dut.community.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
public class Comment {
    private int id;
    private int userId;
    private int entityType;  //评论对象：帖子还是评论 1：帖子 2：评论
    private int entityId;  //评论对象（帖子或评论）的id
    private int targetId;  //评论对象（用户）id
    private String content; //内容
    private int status;  //是否被封 0：正常 1：被封
    private Date createTime;

}
